<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
		<script>
			
			var str= 'aapc xpc ppc bpc spc tpc';
			var re=/[apx]pc/g;
			var jg = str.match(re);
			console.log(jg.length);
			console.log(jg);
			
		</script>
	</head>
	<body>
	</body>
</html>
